package com.lgj.springboot_lgj.web.vm;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @Author liguanghui
 * @Date 2022/6/20
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ArticleVM{
    private Integer articleId;

    private String articleTitle;

    private String articleContent;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date articlePublishTime;

    private Integer articleReadTimes;

    private Integer articleStatus;

    private Integer articleThumpUp;

    private String articleCover;

    private Integer articleUserId;

    private Integer articleCategoryId;
}
